home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Mania 6
/
MacMania 6.toast
/
/
Tools&Utilities
/
EnterAct Stuff
/
Drag_on Modules
/
hAWK example progs
/
$Unscramble
< prev
next >
Wrap
Text File
|
1994-01-26
|
158b
|
10 lines
# Unscramble
# name[] = "string"
#into
# name["string"] = 1
{
if (match($1, /(\w|_)+/))
print substr($1, RSTART, RSTART+RLENGTH) "[" $3 "]", "=", "1"
}